package zhtt.entity;

/**
 * Created by zhtt on 2016/10/28.
 * 作业调度表达式
 */
public class Expression {

    private String name;

    /**
     * 启动状态
     */
    private boolean startState=false;

    private String expression="59 59 23 ? * 6#3";

    private String remarks="每月第三周23:59:59执行";

    public Expression(){}

    public Expression(String expression,boolean startState){
        this.expression=expression;
        this.startState=startState;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isStartState() {
        return startState;
    }

    public void setStartState(boolean startState) {
        this.startState = startState;
    }

    public String getExpression() {
        return expression;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }
}
